<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
    <%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的店铺</title>
<link href="/css/front/shop.css" rel="stylesheet" type="text/css" />
<link href="/css/front/main.css" type="text/css" rel="stylesheet">
<link href="/css/front/history.css" rel="stylesheet" type="text/css" />

<script src="/js/front/shop/tab_hua.js" language="JavaScript" type="text/javascript"></script>
<script src="/js/front/shop/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="/js/front/shop/lanrentuku_com.js" type="text/javascript"></script>
<SCRIPT src="/js/index/search.js" type=text/javascript></SCRIPT>
<SCRIPT src="/js/jquery/jquery-1.7.2.js" type=text/javascript></SCRIPT>
<sx:head/>
</head>
<body>
<div id="topNavWrapper">
		<s:url id="user_login" namespace="/forward/view" action="basic_top"></s:url>
		<sx:div href="%{user_login}" id="top_show"></sx:div>
</div>
<div id="wrapper">
			<s:include value="shop_head.jsp"></s:include>
		<div class="clr"></div>
		<!--左侧在线客服 商家基本信息 畅销书 书籍分类-->
		<div id="item_left">
				<div id="zxkf">
						<h2><s></s>在线客服</h2>
						<ul>
							<!-- 类型表示(0、表示QQ 1、表示WW 2、表示电话) -->
							<s:iterator value="shop.childs" var="onlines">
								<s:if test="#onlines.userType==0">
									<li>
										<a target="_blank"
											href="http://wpa.qq.com/msgrd?v=3&uin=${onlines.userNumber}&site=qq&menu=yes">
											<img border="0"
												src="http://wpa.qq.com/pa?p=2:${onlines.userNumber}:41"
												alt="点击这里给我发消息" title="点击这里给我发消息"> </a>
									</li>
								</s:if>
								<s:elseif test="#onlines.userType==1">
									<li>
										<a target="_blank"
											href="http://amos.im.alisoft.com/msg.aw?v=2&uid=${onlines.userNumber}&site=cnalichn&s=4">
											<img border="0"
												src="http://amos.im.alisoft.com/online.aw?v=2&uid=${onlines.userNumber}&site=cnalichn&s=4"
												alt="有事联系我" /> </a>
									</li>
								</s:elseif>
							</s:iterator>
						</ul>
				<div class="clr"></div>
				</div>
				
				<div id="sjjbxx">
						<h2><s></s>商家基本信息</h2>
						<ul>
								<li>公司名：${shop.coName }</li>
								<li>所在地：${shop.coAddress }</li>
								<li>商  家：${shop.shopName } </li>
								<li>
									<dl>
										<dt>服务电话：</dt>
										<s:iterator value="shop.childs" var="onlines" status="stu">
											<s:if test="#onlines.userType==2">
												<dd><s:property value="#onlines.userNumber" /></dd>
											</s:if>
										</s:iterator>
									</dl>
								</li>
						</ul>
						<span><img src="/image/front/item_07.gif" alt="进入店铺" /></span>
				<div class="clr"></div>
				</div>
				
				<!--浏览历史-->
				
				
				<div id="sjfl">
					<h2><s></s>书籍分类</h2>
					<s:url id="shop_booktype" action="shop_booktype" namespace="forward/view">
						<s:param name="shopId" value="shop.id"/>
					</s:url>
					<sx:div href="%{shop_booktype}" ></sx:div>
					<div class="clr"></div>
				</div>
		</div>
		<!--左侧 end-->
		<div id="shop_middle">
				<div id="content"> 
					<!-- ===================== header end ===================== -->
					<!--------main begin--------->
					<div id="main">
						<s:include value="shop_ad.jsp"></s:include>
					</div>
					<!--------main end--------->
					</div>
		  <!-----------新品热卖  begin----------->
		<div id="newsel">
				<h1>店铺精品</h1>
				<s:url action="shop_recommend" namespace="/forward/view" id="recommendBookList">
						<s:param name="shopId" value="shop.id"/>
						<s:param name="maxResult" value="3"/>
						<s:param name="page" value="1"/>
				</s:url>
				<sx:div id="shop_recommend_book" href="%{recommendBookList}">
				</sx:div>
				<div class="clr"></div>
				
				<h1>新品热卖</h1>
				<s:url action="shop_newBook" namespace="/forward/view" id="newBookList">
							<s:param name="shopId" value="shop.id"/>
							<s:param name="newResult" value="3"/>
							<s:param name="newPage" value="1"/>
				</s:url>
				<sx:div id="shop_new_book" href="%{newBookList}">
				</sx:div>
				<div class="clr"></div>
			<div class="clr"></div>
		</div>
  </div>
		<div id="shop_right">
				<div id="cxs">
						<h2><s></s>经典推荐</h2>
						<s:include value="/ftl/html/recomm_book.html"></s:include>
						<!-- 畅销书
						<s:url id="shop_bestseller" action="shop_bestseller" namespace="forward/view">
							<s:param name="shopid" value="shopId"/>
						</s:url>
						<sx:div href="%{shop_bestseller}"></sx:div>
						-->
					<div class="clr"></div>
				</div>
				<!--
				<div class="door_container">
 						<div class="TabTitle">
								<ul id="myTab">
								  <li class="active" onclick=nTabs(this,0);>名人排列榜</li>
								  <li class="normal" onclick=nTabs(this,1);>收藏排列榜</li>
								</ul>
  						</div>
 						<div class="TabContent">
    						<div id=myTab_Content0>
								<div class="star">
									<s:url id="shop_author_url" action="author_love" namespace="/mapping/user"></s:url>
									<sx:div href="%{shop_author_url}"></sx:div>
						    	</div>
						    </div>
						   	<div class="none" id=myTab_Content1>
						      <div class="star">
						      	<s:url id="favorite_book_url" action="book_love" namespace="forward/view">
						      		<s:param name="shopid" value="shopId" ></s:param>
						      	</s:url>
								<sx:div href="%{favorite_book_url}"></sx:div>
						      </div>
						    </div>
  						</div>
				</div>
  -->
				<div id="llls">
					<h2>
						<s></s>浏览历史
					</h2>
					<div class="hotShop sort1 yspace" id=DivShopPaiHang_Food>
						<div class=txt id=DivShopPaiHang_ShowPanel>
							<div class=txt11>
								<s:url id="shop_history" action="shop_history" namespace="forward/view"></s:url>
								<sx:div href="%{shop_history}"></sx:div>
							</div>
						</div>
						<div class="clr"></div>
					</div>
					<div class="clr"></div>
				</div>
				
				
		<div class="clr"></div>
		</div>
		<div class="clr"></div>
		<div id="footer">
				<s:include value="/page/foot.html"></s:include>
			</div>	
</div>
</body>
</html>